package org.dromara.agriculture.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 农资信息对象 agriculture_material_info
 *
 * @author Robin
 * @date 2024-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("agriculture_material_info")
public class AgricultureMaterialInfo extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 农资ID
     */
    @TableId(value = "material_id")
    private Long materialId;

    /**
     * 农资编码
     */
    private String materialCode;

    /**
     * 农资名称
     */
    private String materialName;

    /**
     * 农资类别
     */
    private Long materialTypeId;

    /**
     * 计量单位
     */
    private String measureUnit;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private String status;

    /**
     * 排序
     */
    private Long orderNum;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;

    /**
     * 基地ID
     */
    private Long baseId;

    /**
     * 用户ID
     */
    private Long userId;


}
